package com.yehuo.app.service;


import com.yehuo.app.dto.APPOrderDto;
import com.yehuo.app.dto.CreateOrderDTO;
import com.yehuo.app.dto.OrderDTO;
import com.yehuo.app.model.APP;
import javax.servlet.http.HttpServletRequest;

public interface AppOrderService {
    APP selectOrder(APPOrderDto selectOrderDto);

    APP payOrder(OrderDTO orderDTO);

    APP createOrder(CreateOrderDTO orderDTO);

    APP<Boolean> getReceiveState(String userId, String orderId);

    APP<Object> getOrderDetails(String orderId);

    APP updateOrder(String userId, String orderId, String note);

    APP doWxOrder(HttpServletRequest request, String userId, String orderId);

    APP getPrepayId(HttpServletRequest request, String userId, String orderId);
}

